<?php
$this->breadcrumbs=array(
	'综合控制台'=>array($this->pre_module_url.'/index/index'),
	'开发人员菜单'=>array($this->pre_module_url.'/admMenu/admin'),
	'模型接口'=>array($this->pre_module_url.'/modelApi/admin'),
	$model->model_name,
);

$model->description = str_replace('<pre class="prettyprint lang-php">','<pre class="brush: php;">',$model->description);
$model->description = str_replace('<pre class="prettyprint lang-html">','<pre class="brush: php;">',$model->description);
$model->description = str_replace('<pre class="prettyprint lang-js">','<pre class="brush: js;">',$model->description);
?>

<h1>View ModelApi #<?php echo $model->zd_model_api_id; ?></h1>

<?php  /*$this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		'zd_model_api_id',
		'model_name',
		'model_api_name',
		'api_method',
		'description:html',
	),
));*/ ?>

<ul class="form_list form_list2">
	<li class="c_f"><span class="tit">模型名称：</span>
		<div class="cont f_l">
			<?php echo $model->model_name?>
		</div>
	</li>
	<li class="c_f"><span class="tit">接口名称：</span>
		<div class="cont f_l">
		 	<?php echo $model->model_api_name?>
		</div>
	</li>
	<li class="c_f"><span class="tit">接口方法：</span>
		<div class="cont f_l">
			<?php echo $model->api_method?>
		<div>
	</li>
	<li class="c_f"><span class="tit">说明：</span>
		<div class="cont f_l" style="max-width:840px">
			<?php echo Yii::app()->format->formatHtml($model->description)?>
		</div>
	</li>
</ul>


<script type="text/javascript" src="/js/syntax/shCore.js"></script>
<script type="text/javascript" src="/js/syntax/shBrushJScript.js"></script>
<script type="text/javascript" src="/js/syntax/shBrushPhp.js"></script>
<link type="text/css" rel="stylesheet" href="/css/syntax/shCoreMidnight.css"/>
<script type="text/javascript">SyntaxHighlighter.all();</script>

